package com.hh.releasenode.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hh.releasenode.entity.SysRoleEntity;
import com.hh.releasenode.entity.SysUserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName SysRoleDao
 * @Description 角色DAO
 * @Author KunxianLi
 * Date 2020/6/9 16:12
 * Version 1.0
 **/
@Mapper
public interface SysRoleDao extends BaseMapper<SysRoleEntity> {

    List<SysRoleEntity> findByUserId(Long sysUserId);
}
